package com.ruoyi.job.domain.excel;

import com.alibaba.excel.annotation.ExcelProperty;
import com.alibaba.excel.annotation.format.DateTimeFormat;

import java.util.Date;

/**
 * 定时任务调度日志Excel导出实体类
 *
 * @author share
 */
public class SysJobLogExcel {

    /** ID */
    @ExcelProperty("日志序号")
    private Long jobLogId;

    /** 任务名称 */
    @ExcelProperty("任务名称")
    private String jobName;

    /** 任务组名 */
    @ExcelProperty("任务组名")
    private String jobGroup;

    /** 调用目标字符串 */
    @ExcelProperty("调用目标字符串")
    private String invokeTarget;

    /** 日志信息 */
    @ExcelProperty("日志信息")
    private String jobMessage;

    /** 执行状态 */
    @ExcelProperty("执行状态")
    private String statusText;

    /** 异常信息 */
    @ExcelProperty("异常信息")
    private String exceptionInfo;

    /** 开始时间 */
    @ExcelProperty("开始时间")
    @DateTimeFormat("yyyy-MM-dd HH:mm:ss")
    private Date startTime;

    /** 停止时间 */
    @ExcelProperty("停止时间")
    @DateTimeFormat("yyyy-MM-dd HH:mm:ss")
    private Date stopTime;

    /** 执行时长(毫秒) */
    @ExcelProperty("执行时长(毫秒)")
    private Long executionTime;

    public Long getJobLogId() {
        return jobLogId;
    }

    public void setJobLogId(Long jobLogId) {
        this.jobLogId = jobLogId;
    }

    public String getJobName() {
        return jobName;
    }

    public void setJobName(String jobName) {
        this.jobName = jobName;
    }

    public String getJobGroup() {
        return jobGroup;
    }

    public void setJobGroup(String jobGroup) {
        this.jobGroup = jobGroup;
    }

    public String getInvokeTarget() {
        return invokeTarget;
    }

    public void setInvokeTarget(String invokeTarget) {
        this.invokeTarget = invokeTarget;
    }

    public String getJobMessage() {
        return jobMessage;
    }

    public void setJobMessage(String jobMessage) {
        this.jobMessage = jobMessage;
    }

    public String getStatusText() {
        return statusText;
    }

    public void setStatusText(String statusText) {
        this.statusText = statusText;
    }

    public String getExceptionInfo() {
        return exceptionInfo;
    }

    public void setExceptionInfo(String exceptionInfo) {
        this.exceptionInfo = exceptionInfo;
    }

    public Date getStartTime() {
        return startTime;
    }

    public void setStartTime(Date startTime) {
        this.startTime = startTime;
    }

    public Date getStopTime() {
        return stopTime;
    }

    public void setStopTime(Date stopTime) {
        this.stopTime = stopTime;
    }

    public Long getExecutionTime() {
        return executionTime;
    }

    public void setExecutionTime(Long executionTime) {
        this.executionTime = executionTime;
    }
}